<div id="content">
	
	<div class="post">
		<h2 class="title"><a href="#">edit user</a></h2>
		<!--<p class="meta">
			<span class="date"></span>
			<span class="posted"></span>
		</p> -->
 		<div style="clear: both;">&nbsp;</div>
		<div class="entry">
			<p>
			<br/><br/>
			<?php 
			
				echo form_open('site/update_user');
				
				$input_username = array(
	              'name'        => 'user_name',
	              'id'          => 'login-text',
	              'maxlength'   => '100',
	              'size'        => '50',
				  'onClick'     => 'this.value=\'\'',
	            );
				
	            $input_pwd = array(
	              'name'        => 'password',
	              'id'          => 'login-text',
	              'maxlength'   => '100',
	              'size'        => '50',
				  'onClick'     => 'this.value=\'\'',
	            );
	            
	            $selected_inst = ''; // get this from controller
	            
	            echo "<span class=\"field-descriptor\">Selected Institution:".$selected_inst."</span>";
	            
	            echo "<span class=\"field-descriptor\">Username: <br/></span>".form_input($input_username);
				
	            echo "<br/><span class=\"field-descriptor\">Password: <br/></span>".form_password($input_pwd);
	            
				echo form_submit('submit','Update');
				
				echo form_close();
				
			?>
			</p>
		</div>
	</div>
	<div style="clear: both;">&nbsp;</div>
</div>
<!-- end #content -->